// JavaScript Document function getObject(objectId) { if (document.all && !document.getElementById) { return document.all(objectId); } else { return document.getElementById(objectId); } } function changeClass(idVal, classVal) { getObject(idVal).className=classVal; } // Find tags that have "currentClass" name and change to "newClass" name // add support for ie 5 function ie_getElementsByTagName(str) { // Map to the all collections if (str=="*") return document.all else return document.all.tags(str) } if (document.all) document.getElementsByTagName = ie_getElementsByTagName var allPageTags = new Array(); function showHideAll(currentClass,newClass) { //Populate the array with all the page tags var allPageTags=document.getElementsByTagName("*"); //Cycle through the tags using a for loop for (i=0; i